home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni & Inventori
/
Invenzioni and Inventori (Eclectica Publishing) (1996).ISO
/
invenzio
/
vivid
/
getat2.dir
/
00105_Script_105
< prev
next >
Wrap
Text File
|
1996-11-09
|
1KB
|
37 lines
on exitFrame
global pointer,lista,mywindow
set start_=500
set lista=[]
set loop=0
repeat with loop=0 to count(pointer)/3-1
set tipo=value(getat(pointer,loop*3+2))
if tipo=-1 then exit repeat --esce se finito il ciclo
--add lista,[#DESC:"Squeeze!",#PATH:"non used",#TEXT:EMPTY,#CAST:102]
if tipo=#digitalvideo then --Φ un filmato e quindi lo carica...
importfileinto cast start_,getat(pointer,loop*3+4)
if (the size of cast start_ /1024)>200 then set the controller of cast start_ to 1
set the pausedatstart of cast start_ to 1
add lista,[#DESC:getat(pointer,loop*3+3),#PATH:"non used",#TEXT:EMPTY,#CAST:start_]
end if
if tipo=#text then -- Φ un testo e quindi setta la lista e basta
add lista,[#DESC:getat(pointer,loop*3+3),#PATH:"non used",#TEXT:getat(pointer,loop*3+4),#CAST:EMPTY]
end if
if tipo=#bitmap then -- qui Φ un'altra storia in quanto dobbiamo utilizzare il BASIC.dir (la sua copia...)
global NUMERO_CAST,DATI_BITMAP
set NUMERO_CAST= value(getat(pointer,loop*3+4))
tell mywindow to Get_cast
duplicate cast 31,cast start_
set the picture of cast start_ to DATI_BITMAP
add lista,[#DESC:getat(pointer,loop*3+3),#PATH:"non used",#TEXT:EMPTY,#CAST:start_]
end if
set start_=start_+1
end repeat
add lista,-1
play done
end